package com.lanou.entity;

import com.alibaba.fastjson.annotation.JSONField;

public class Prize {
    private Integer id;
    private String text;
    private String img;
    @JSONField(serialize = false)
    private Double probability;

    public Prize(Integer id, String text, String img, Double probability) {
        this.id = id;
        this.text = text;
        this.img = img;
        this.probability = probability;
    }

    public Prize() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Double getProbability() {
        return probability;
    }

    public void setProbability(Double probability) {
        this.probability = probability;
    }
}
